using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 社区用户屏蔽仓储接口
    /// </summary>
    public interface ICommunityUserBlockRepository : IRepository<CommunityUserBlock>
    {
        Task<IEnumerable<CommunityUserBlock>> GetByUserIdAsync(Guid userId);
        Task<IEnumerable<CommunityUserBlock>> GetByBlockedUserIdAsync(Guid blockedUserId);
        Task<bool> IsBlockedAsync(Guid userId, Guid blockedUserId);
    }
}